package com.lyl.goods.respository;

import com.lyl.goods.pojo.Product;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @Author: Liyunlong
 * @Date: 2024/03/20/20:34
 * @Description:
 */
@Repository
public interface ProductRepository extends JpaRepository<Product, Long> {
    List<Product> getById(Integer productId);
}
